home *** CD-ROM | disk | FTP | other *** search
/ Shareware Extravaganza - Disc 4 / Shareware Extravaganza - Over 25,000 Programs (The Ultimate Shareware Company)(Disc 4 of 4)(1993).iso / cad / hat14.zip / HAT.DOC next >
Text File  |  1990-09-25  |  13KB  |  344 lines

  1.          HAT hatch utilities version 1.4  (c)1990 Michael E. Ross
  2.  
  3.          This program is distributed as Shareware.  You are allowed
  4.          to try the HAT hatch utilities FREE, but if you decide to
  5.          keep the utilities, you MUST register.  See the registration
  6.          form at the end of this document.  Your evaluation period
  7.          must not exceed 2 weeks.
  8.  
  9.          HAT is a group of programs designed to make using the hatch
  10.          utility of AutoCAD easier.
  11.  
  12.          Feel free to distrubute HAT, as long as you include:
  13.            HAT.DOC    this file
  14.            HAT.LSP    the program
  15.            HAT.MNU    icon menu accessed by hat.lsp
  16.            HAT.MNX    compiled version of HAT.MNU
  17.            HAT.DWG    sample drawing to try HAT (try it!)
  18.  
  19.          Even if you decide not to register, please fill out the
  20.          comments portion of the registration form to let me know what
  21.          you thought and any suggestions you may have.
  22.  
  23.          Finally, please don't abuse the Shareware system, it has been
  24.          a real boon to thousands of computer users, and has provided
  25.          fantastic macros and programming. It provides you with the
  26.          opportunity to try software out BEFORE you buy it.
  27.  
  28.  
  29.          ----------------------What is HAT.LSP?-----------------------
  30.  
  31.          HAT.LSP is an AutoLISP program which enhances AutoCAD's hatch
  32.          command.
  33.  
  34.          If you use AutoCAD's hatch command extensively please read
  35.          on...
  36.  
  37.          Have you ever created a hatched area only to decide you don't
  38.          like the scale or rotation angle, or you wish you could just
  39.          move the pattern slightly? If so, you most likely erased the
  40.          pattern and rehatched the area, possibly repeating the
  41.          process several times until you were satisfied.
  42.  
  43.          Another common situation encountered with the hatch command
  44.          is trying to find out the pattern name, scale and angle of an
  45.          existing hatch pattern, possibly in order to match it.
  46.          AutoCAD's "list" command doesn't tell you this info.
  47.  
  48.          If you have wished for an easy solution to these problems,
  49.          then HAT.LSP is for you!
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                                                            page 1 of 6
  58.         ----------------------WHAT HAT.LSP DOES----------------------
  59.  
  60.          HAT.LSP works much like the AutoCAD hatch command, but also
  61.          allows you to dynamically RESCALE and ROTATE, and MOVE hatch
  62.          patterns.
  63.  
  64.          In addition, HAT.LSP records hatch information about each
  65.          hatch pattern it creates. This information is stored with the
  66.          drawing and may be REFERENCED at any time.
  67.  
  68.          If you want to hatch an area with the same pattern, scale and
  69.          angle as an existing pattern, there is also a SELECT option
  70.          to match existing patterns.
  71.  
  72.          HAT.LSP can only extract reference information from hatch
  73.          patterns which were created with the HAT command.
  74.  
  75.  
  76.          ---------------------INSTALLING HAT 1.4----------------------
  77.  
  78.          Installing HAT is easy. Simply copy the files, HAT.LSP,
  79.          HAT.MNU, HAT.MNX, HAT.DWG and HAT.DOC to the directory you
  80.          use for AutoCAD. See example below.
  81.  
  82.          If you use a special directory for lisp programs you may
  83.          put HAT.LSP there, but the file HAT.MNU must be in the
  84.          AutoCAD library path (see AutoCAD Reference Manual R.10, page
  85.          54).
  86.  
  87.          example:
  88.            Your acad.exe file is on the D: drive, \acad subdirectory.
  89.            The HAT files are on a floppy diskette in drive A:.
  90.  
  91.            simply type:
  92.            copy a:*.* d:\acad
  93.            and hit return
  94.  
  95.            Now when you are in AutoCAD drawing editor, you can type:
  96.            (load"hat")
  97.            and hit return. You must type the parenthesis and quotes
  98.            exactly as shown. When you have done this you will see the
  99.            message: Loaded HAT lisp routines. (c)1990 Michael E. Ross.
  100.            You may now type:
  101.            hat
  102.            and hit return. The HAT program will take it from there!
  103.  
  104.  
  105.  
  106.  
  107.          AutoCAD & AutoLISP are registered trademarks of AutoDesk Inc
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.                                                            page 2 of 6
  115.         ----------------------HOW TO USE HAT.LSP---------------------
  116.  
  117.          Load the HAT programs by typing (load"hat") from the
  118.          AutoCAD drawing editor, (the hat files must be in the ACAD
  119.          search path such as the directory where ACAD.EXE is). For
  120.          more information on the load command, see page 89 of the
  121.          AutoLISP Programmers Reference Release 10.
  122.          (see "Installing HAT 1.4" above)
  123.  
  124.          Type the word 'hat' from the command: prompt. That's all
  125.          there is to it. Follow the prompts as you would the regular
  126.          hatch command:
  127.  
  128.            1. Pattern name / [S]elect / [U]ser / ? / <default>:
  129.  
  130.               a. you can type the name of the pattern you want to use.
  131.               b. type S and you may Select an existing hatch to match
  132.                  it (as long as it was created with HAT.LSP).
  133.               c. type U and create a user defined hatch just like the
  134.                  user option of the standard hatch command.
  135.               d. type a ? and you can use the icon menus to select
  136.                  your pattern.  (see the section of this document
  137.                  titled "INSTALLING HAT 1.4")
  138.               e. hit return to accept the default pattern.
  139.  
  140.            2. Scale for pattern <default>:
  141.  
  142.               a. type in a scale
  143.               b. hit return to accept the default
  144.  
  145.            3. Angle for pattern <default>:
  146.  
  147.               a. type in an angle (or you can pick an angle on screen)
  148.               b. hit return to accept the default
  149.  
  150.            4. Select objects
  151.  
  152.               pick the border(s) for your hatch pattern using any of
  153.               the standard Select options.
  154.  
  155.               HAT.LSP hatches the selected area and prompts you for
  156.               rescaling and rotating options:
  157.  
  158.            5. Do you want to REscale / ROtate / Move? <No>:
  159.  
  160.               a. type the first letter(s) of the option you want.
  161.                  Hat will reprompt you for new value required, then
  162.                  rehatch the area automatically, and return to this
  163.                  prompt. You can keep adjusting the pattern until you
  164.                  are satisfied.
  165.               b. hit return to accept the scale angle and position.
  166.  
  167.                                                                 (cont)
  168.  
  169.  
  170.  
  171.                                                            page 3 of 6
  172.  
  173.                                     (cont)
  174.  
  175.           6. Do you want to make a Hatch Reference Block? <Yes>:
  176.  
  177.               a. hit return to store the info about the hatch you just
  178.                  made. An invisible reference block will be inserted
  179.                  into the drawing. The reference block takes about 400
  180.                  bytes.
  181.               b. if for some reason, you don't want the reference
  182.                  block to be inserted, type n. If you do this, you
  183.                  won't be able to get the pattern info (name, scale,
  184.                  and angle) at a later time, it will be just like a
  185.                  hatch created with the 'hatch' command.
  186.  
  187.  
  188.          That's it! Not only does HAT.LSP make creating hatch patterns
  189.          easier but it enables you to find out what pattern, scale and
  190.          angle was used at any time in the drawings life.
  191.  
  192.  
  193.          After having created a hatch pattern using HAT, you may now
  194.          reference that pattern at any time to find the pattern's
  195.          scale and rotation angle. To do this, HAT.LSP must be loaded
  196.          as above, then:
  197.  
  198.          HATREF.LSP
  199.            Type 'hatref' from the command prompt. You will be prompted
  200.            to select a hatch pattern. When you do, the pattern name,
  201.            it's scale and angle will be printed to the screen.
  202.  
  203.            If you try this on a pattern with no reference block, such
  204.            as a hatch pattern created with the standard hatch command,
  205.            you will be so informed.
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.      ------------------ENHANCEMENTS FOR HAT 1.3-------------------
  217.  
  218.          HAT 1.2 has been improved!  The following is a list of the
  219.          improvements:
  220.  
  221.            User defined hatch patterns are now allowed and fully
  222.            supported by HAT and HATREF.  User defined hatch patterns
  223.            may even be matched with the Select option of HAT 1.3.
  224.  
  225.            The Move option now works more like the AutoCAD Move
  226.            command.  Absolute and relative points may be supplied
  227.            as well as Displacement.
  228.                                                            page 4 of 6
  229.  
  230.  
  231.            Hatches created with HAT 1.3 may now be changed to
  232.            different layers and the hatch will adopt the
  233.            characteristics of that layer (color linetype etc.).
  234.  
  235.            HAT 1.3 and HATREF will report the actual scale and angle
  236.            of a hatch pattern created with HAT even if it has been
  237.            scaled or rotated using AutoCAD editing commands.
  238.  
  239.  
  240. |        ------------------ENHANCEMENTS FOR HAT 1.4-------------------
  241.  
  242. |        HAT 1.4 represents further enhancements made to the program
  243. |        in response to registered user suggestions.
  244.  
  245. |          A problem with text styles defined with a fixed height is
  246. |          fixed.  HAT is not affected by either fixed or variable
  247. |          height text.
  248.  
  249. |          Reference blocks are now given unique names so that block
  250. |          redefinition does not occur if a drawing with HAT reference
  251. |          blocks is inserted onto another.
  252.  
  253. |          The color of HAT patterns is now changeable as are normal
  254. |          hatch patterns.
  255.  
  256. |          HAT now reads the ACAD.PAT file with more versatility.  If
  257. |          a customized ACAD.PAT file is used, the pattern header does
  258. |          not require the pattern description as required by HAT 1.3.
  259.  
  260.  
  261.  
  262.  
  263.  
  264.          ---------------------HAT TECHNICAL INFO----------------------
  265.  
  266.          HAT searches the ACAD.PAT file to determine if pattern names
  267.          typed in are valid.  Custom hatch patterns, not supplied in
  268.          the ACAD.PAT file should be appended to ACAD.PAT so that HAT
  269.          will recognize the pattern name.  Custom hatch patterns
  270.          must not be named the same as the capitalized option keywords
  271.          used by HAT.
  272.  
  273.          Only the capitalized letters of the option keywords used in
  274.          HAT should be supplied.  For example, to initiate the Select
  275.          option, an s or S are all that should be supplied.  This is
  276.          necessary since a custom hatch patterns may have names
  277.          similar to the option keywords.  If you make a custom screen
  278.          menu to supply responses to HAT requests, limit the response
  279.          options to only the necessary letters (such as S U RO).
  280.  
  281.          If you find the performance of HAT to be inadequate, please
  282.          let me know by filling out the comments on the ORDER FORM.
  283.          I have found HAT to work best on AutoCAD 386 or Extended
  284.          lisp.
  285.  
  286.                                                            page 5 of 6
  287.         -------------------------ORDER FORM--------------------------
  288.  
  289.          To register your copy of HAT hatch utilities, print out and
  290.          complete this form.  Send it with check or money order for
  291.          U.S. $15 (CA residents add 6.25% sales tax) to:
  292.  
  293.          Michael E. Ross
  294.          610 E. Canon Perdido #6
  295.          Santa Barbara, CA 93103
  296.  
  297.  
  298.  
  299.          Name     ____________________________________________________
  300.  
  301.          Address  ____________________________________________________
  302.  
  303.          City/State/Zip  _____________________________________________
  304.  
  305.          Phone  (______) _______________ Date  _______________________
  306.  
  307.          Title    ____________________________________________________
  308.  
  309.          Company  ____________________________________________________
  310.  
  311.          AutoCAD version/machine type  _______________________________
  312.  
  313.          Number of copies  _____
  314.  
  315.          How did you hear about HAT 1.4  _____________________________
  316.  
  317.          Comments on HAT 1.4 (use back if necessary) _________________
  318.  
  319.          _____________________________________________________________
  320.  
  321.          _____________________________________________________________
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.                                                            page 6 of 6
  344.